[INFO] cloning repository https://github.com/benjamin-schultz/Egg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benjamin-schultz/Egg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-schultz%2FEgg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-schultz%2FEgg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1fb453a1c1650612b295427c96b7b85033365363
[INFO] checking benjamin-schultz/Egg against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-schultz%2FEgg" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/benjamin-schultz/Egg on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/benjamin-schultz/Egg
[INFO] finished tweaking git repo https://github.com/benjamin-schultz/Egg
[INFO] tweaked toml for git repo https://github.com/benjamin-schultz/Egg written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/benjamin-schultz/Egg already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5d11791055f3521de214ca6a469d835a7d5af30a8afdfc2c5141083bb59b32b3
[INFO] running `Command { std: "docker" "start" "-a" "5d11791055f3521de214ca6a469d835a7d5af30a8afdfc2c5141083bb59b32b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d11791055f3521de214ca6a469d835a7d5af30a8afdfc2c5141083bb59b32b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d11791055f3521de214ca6a469d835a7d5af30a8afdfc2c5141083bb59b32b3", kill_on_drop: false }`
[INFO] [stdout] 5d11791055f3521de214ca6a469d835a7d5af30a8afdfc2c5141083bb59b32b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 70ee4caecb541a47258080e84938e0f90da61ffbc4951d3a33e94521308f1529
[INFO] running `Command { std: "docker" "start" "-a" "70ee4caecb541a47258080e84938e0f90da61ffbc4951d3a33e94521308f1529", kill_on_drop: false }`
[INFO] [stderr]     Checking egg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]   --> src/lib.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]    | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 77 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]    |                       ^^^^^^^^^^^^ help: a function with a similar name exists: `find_animals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]   --> src/lib.rs:89:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]    | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 89 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]    |                       ^^^^^^^^^^^^ help: a function with a similar name exists: `find_animals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:101:23
[INFO] [stdout]     |
[INFO] [stdout] 10  | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 101 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^ help: a function with a similar name exists: `find_animals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 10  | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 128 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^ help: a function with a similar name exists: `find_animals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:140:23
[INFO] [stdout]     |
[INFO] [stdout] 10  | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 140 |         let animals = load_animals().expect("Load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^ help: a function with a similar name exists: `find_animals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]   --> src/lib.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]    | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 77 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]    |                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let animals = find_animals().expect("load file error");
[INFO] [stdout]    |                       ~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 71 |     use crate::load_animals;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]   --> src/lib.rs:89:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]    | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 89 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]    |                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let animals = find_animals().expect("load file error");
[INFO] [stdout]    |                       ~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 71 |     use crate::load_animals;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:101:23
[INFO] [stdout]     |
[INFO] [stdout] 10  | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 101 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let animals = find_animals().expect("load file error");
[INFO] [stdout]     |                       ~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 71  |     use crate::load_animals;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 10  | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 128 |         let animals = load_animals().expect("load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let animals = find_animals().expect("load file error");
[INFO] [stdout]     |                       ~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 71  |     use crate::load_animals;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_animals` in this scope
[INFO] [stdout]    --> src/lib.rs:140:23
[INFO] [stdout]     |
[INFO] [stdout] 10  | fn find_animals(names: &[String], animals: &str) -> Vec<(String, usize)> {
[INFO] [stdout]     | ------------------------------------------------------------------------ similarly named function `find_animals` defined here
[INFO] [stdout] ...
[INFO] [stdout] 140 |         let animals = load_animals().expect("Load file error");
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let animals = find_animals().expect("Load file error");
[INFO] [stdout]     |                       ~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 71  |     use crate::load_animals;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert!(matches.contains(&"CATTLE".to_string()));
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `String`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(String, usize)`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert!(matches.contains(&"CATTLE".to_string()));
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `String`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(String, usize)`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:95:34
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(matches.contains(&"CAT".to_string()));
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^ expected tuple, found struct `String`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(String, usize)`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:95:34
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(matches.contains(&"CAT".to_string()));
[INFO] [stdout]    |                         -------- ^^^^^^^^^^^^^^^^^^ expected tuple, found struct `String`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(String, usize)`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_lowercase` found for tuple `(String, usize)` in the current scope
[INFO] [stdout]    --> src/lib.rs:117:36
[INFO] [stdout]     |
[INFO] [stdout] 117 |             matches_comp.push(word.to_lowercase());
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ method not found in `(String, usize)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_lowercase` found for tuple `(String, usize)` in the current scope
[INFO] [stdout]    --> src/lib.rs:117:36
[INFO] [stdout]     |
[INFO] [stdout] 117 |             matches_comp.push(word.to_lowercase());
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ method not found in `(String, usize)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:134:34
[INFO] [stdout]     |
[INFO] [stdout] 134 |         assert!(matches.contains(&"WomBAT".to_string()));
[INFO] [stdout]     |                         -------- ^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `String`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&(String, usize)`
[INFO] [stdout]                found reference `&String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:134:34
[INFO] [stdout]     |
[INFO] [stdout] 134 |         assert!(matches.contains(&"WomBAT".to_string()));
[INFO] [stdout]     |                         -------- ^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `String`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&(String, usize)`
[INFO] [stdout]                found reference `&String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:143:37
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert!(has_unique_elements(matches));
[INFO] [stdout]     |                 ------------------- ^^^^^^^ expected struct `String`, found tuple
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<String>`
[INFO] [stdout]                found struct `Vec<(String, usize)>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn has_unique_elements(iter: Vec<String>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^ -----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `egg` due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:143:37
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert!(has_unique_elements(matches));
[INFO] [stdout]     |                 ------------------- ^^^^^^^ expected struct `String`, found tuple
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<String>`
[INFO] [stdout]                found struct `Vec<(String, usize)>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn has_unique_elements(iter: Vec<String>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^ -----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `egg` due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "70ee4caecb541a47258080e84938e0f90da61ffbc4951d3a33e94521308f1529", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70ee4caecb541a47258080e84938e0f90da61ffbc4951d3a33e94521308f1529", kill_on_drop: false }`
[INFO] [stdout] 70ee4caecb541a47258080e84938e0f90da61ffbc4951d3a33e94521308f1529
